package com.qzsoft.zhjd.machine.modules.machineinfo.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qzsoft.zhjd.machine.modules.machineinfo.dto.MachineInfoDriverDto;
import com.qzsoft.zhjd.machine.modules.machineinfo.entity.MachineInfoDriverEntity;

/**
 * @ClassName MachineInfoDriverMapper
 * @Description 机械驾驶员数据库条件
 * @author linhuawei
 * @since 2021-11-01
 */
@Mapper
public interface MachineInfoDriverMapper extends BaseMapper<MachineInfoDriverEntity> {

    /**
     * @Title queryDto
     * @Description 获取机械设备驾驶员列表
     * @param page   分页条件
     * @param params 查询条件
     * @return 驾驶员列表
     */
    public IPage<MachineInfoDriverDto> queryDto(IPage<MachineInfoDriverDto> page,
            @Param("params") Map<String, Object> params);

}
